package com.sys.app.service.page;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sys.app.entity.page.PageQuery;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

public interface IPageQueryService extends IService<Object>{
    IPage<Map<String, Object>> pageList(PageQuery pageQuery, String sql);
    <T> IPage<T> pageList(PageQuery pageQuery, String sql, Class<T> cls) throws IllegalAccessException, InstantiationException;
}
